#! python
class Residue( object ):

# this is the constructor; please list all object's members here
    def __init__(self ):
        pass

    def __str__(self):
        pass

    def set( self, residue_name, residue_number, segment_name ):
        self.res_resname = residue_name     #residue name
        self.res_resid   = residue_number     # residue number
        self.res_segid   = segment_name     # segment name
	self.atomlist=[]

    def add( self, atom ):
	self.atomlist.append(atom)

    def resid( self ):
        return( self.res_resid )

    def resname( self ):
        return( self.res_resname )

    def segid( self ):
        return( self.res_segid )
        
